package com.example.second.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@CrossOrigin
@Controller
public class ClientController {
    @RequestMapping("/login")
    public String login(){
        return "forward:/page/loginPage.html";
    }
//    @RequestMapping("/adminlogin")
//    public String adminlogin(){
//        return "forward:/page/adminLogin.html";
//    }
//    @RequestMapping("/admin")
//    public String admin(){
//        return "forward:/page/limitPolicyPage.html";
//    }
//    @RequestMapping("/stocklist")
//    public String stocklist(){
//        return "forward:/page/stockListPage.html";
//    }

}
